<#include "overall_header.html">

						<form id="form_1" action="${se_page.post_action}" method="get">
							<fieldset class="display-options">
								<div class="options-group">
									${L("user.username")}: 
									<input type="text" size="15" value="${se_page.bean.name}" name="name" id="name"> 
									${L("user.email")}: 
									<input type="text" size="12" value="${se_page.bean.email}" name="email" id="email">
									${L("user.status")}: 
									<select id="status" name=""status"">${se_page.status_options}</select>
									${L("global.orderby")}: <select id="orderby" name="orderby">${se_page.orderby_options}</select>
									<select id="order" name="order">${se_page.order_options}</select>
									<input type="submit" value="${L("global.search")}" name="filter" class="button2">
								</div>
							</fieldset>
						</form>

						<div class="clearboth">&nbsp;</div>

						<div style="float: right; margin: 15px 0pt 2px;" class="pagination">
							<strong>${se_page.bean.start}</strong> / <strong>${se_page.bean.size}</strong>
							${se_page.page_nav}
						</div>
						<div class="clearboth">&nbsp;</div>

						<table cellspacing="1">
							<thead>
								<tr>
									<th style="width: 25%;">${L("user.username")}</th>
									<th>${L("user.email")}</th>
									<th style="width: 15%; ">${L("user.register-time")}</th>
									<th colspan="2" style="width: 15%; text-align: center;">${L("global.operation")}</th>
								</tr>
							</thead>
							<tbody>
								<#if se_page.sys_users??><#list se_page.sys_users as sys_user>
								<tr class="row<#if (sys_user_index % 2) == 0>1<#else>2</#if>">
									<td>
										<a href="${sf_configs.root_path}/acp/userview${sf_configs.extension}?id=${sys_user.id}"><b>${sys_user.name}<b></a>
										<#if sys_user.status != 0><span style="color:#990000;">(${L("user.status."+sys_user.status)})</span></#if>
									</td>
									<td style="white-space: nowrap;">${sys_user.email}</td>
									<td align="center" style="white-space: nowrap;">${sys_user.createTime?string("yyyy-MM-dd HH:mm")}</td>
									<td style="text-align: center;">
										<#if sys_user.id &gt; 1>
										<a href="${sf_configs.root_path}/acp/useredit${sf_configs.extension}?id=${sys_user.id}">${L("global.edit")}</a>
										</#if>
									</td>
									<td style="text-align: center;">
										<#if sys_user.status == 0>
										<a href="${sf_configs.root_path}/acp/userban${sf_configs.extension}?id=${sys_user.id}">${L("user.ban")}</a>
										<#else>
										<a href="${sf_configs.root_path}/acp/userunban${sf_configs.extension}?id=${sys_user.id}">${L("user.unban")}</a>
										</#if>
									</td>
								</tr>
								</#list></#if>
							</tbody>
						</table>
						<div class="clearboth">&nbsp;</div>

						<div style="float: right; margin: 5px 0pt 2px;" class="pagination">
							${se_page.page_nav}
						</div>

<#include "overall_footer.html">